package com.ordertracker;

import com.ordertracker.entity.Client;
import com.ordertracker.entity.Organization;
import com.ordertracker.entity.Position;
import com.ordertracker.entity.User;
import com.ordertracker.entity.document.PaymentOrder;
import com.ordertracker.protocol.UserFullInfo;

import javax.xml.bind.annotation.XmlRegistry;

/**
 * Description of class.
 * Created 1/14/13 3:40 PM
 *
 * @author andrey.rodin@playtech.com
 */

@XmlRegistry
public class ObjectFactory {

    public static User createUser() {
        return new User();
    }

    public static Organization createOrganization() {
        return new Organization();
    }

    public static Position createPosition() {
        return new Position();
    }

    public static Client createClient() {
        return new Client();
    }

    public static UserFullInfo createNewUser() {
        return new UserFullInfo();
    }
    
    public static PaymentOrder createPaymentOrder() {
        return new PaymentOrder();
    }   
}
